import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { RegisterController } from './register.controller'
import { RegisterService } from './register.service'
import { User } from '../../../database/entities/user.entity'
import { MailModule } from '../../internal-modules/mail/mail.module'

@Module({
  imports: [MailModule, TypeOrmModule.forFeature([User])],
  controllers: [RegisterController],
  providers: [RegisterService],
  exports: [RegisterService]
})
export class RegisterModule {}
